|
A current copy of the configuration can be
stored on a TFTP server. The
copy running-config tftp command, as
shown in Figure
, can be used to store the current configuration on a
network TFTP server. To do so, complete the following tasks:
|
Step 1 |
Enter the
copy running-config tftp
command. |
|
Step 2 |
Enter the IP address of the host where the
configuration file will be stored. |
|
Step 3 |
Enter the name to assign to the
configuration file. |
|
Step 4 |
Confirm the choices by answering yes each
time. |
A configuration file stored on one of the
network servers can be used to configure a router. To do so, complete
the following tasks:
-
Enter configuration mode by entering
the
copy tftp running-config command, as shown in Figure
.
-
At the
system prompt, select a host or network configuration file. The
network configuration file contains commands that apply to all routers
and terminal servers on the network. The host configuration file
contains commands that apply to one router in particular. At the
system prompt, enter the optional IP address of the remote host where
the configuration file is located. In this example, the router is
configured from the TFTP server at IP address 131.108.2.155.
-
At the system prompt, enter the name of the configuration file or
accept the default name. The filename convention is UNIX-based. The
default filename is
hostname-config
for the host file and
network-config
for the network configuration file. In the DOS environment,
filenames are limited to eight characters plus a three-character
extension (for example,
router.cfg ).
Confirm the configuration filename and the tftp server address that
the system supplies. Notice in
Figure
that the router prompt changes to
tokyo immediately. This
is evidence that the reconfiguration happens as soon as the new file
is downloaded.
The router configuration can also be saved to a disk by capturing
text in the router and saving it to the disk or hard drive. If the
file needs to be copied back to the router, use the standard edit
features of a terminal emulator program to paste the command file into
the router.
| |
Lab Activity
Lab Exercise: Copying, Editing, and Pasting Configurations
This lab is to capture the running
configuration of a router to an ASCII text file with
HyperTerminal.

|
|
|
|